[INFO] fetching crate fdringbuf 0.0.2...
[INFO] building fdringbuf-0.0.2 against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] extracting crate fdringbuf 0.0.2 into /workspace/builds/worker-1/source
[INFO] validating manifest of crates.io crate fdringbuf 0.0.2 on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate fdringbuf 0.0.2
[INFO] finished tweaking crates.io crate fdringbuf 0.0.2
[INFO] tweaked toml for crates.io crate fdringbuf 0.0.2 written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (nix) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] [stderr] warning: unused manifest key: dev-dependencies.nix.nix
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0257aa264242c01f0d0fcf1359b3dae2fa8913ce59245f760c70ef3169c89d30
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "0257aa264242c01f0d0fcf1359b3dae2fa8913ce59245f760c70ef3169c89d30", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0257aa264242c01f0d0fcf1359b3dae2fa8913ce59245f760c70ef3169c89d30", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0257aa264242c01f0d0fcf1359b3dae2fa8913ce59245f760c70ef3169c89d30", kill_on_drop: false }`
[INFO] [stdout] 0257aa264242c01f0d0fcf1359b3dae2fa8913ce59245f760c70ef3169c89d30
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 688f335221a4b962d5920ae1513eac63a849d02a1fd9ba01d37103c86779913a
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "688f335221a4b962d5920ae1513eac63a849d02a1fd9ba01d37103c86779913a", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (nix) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] [stderr] warning: unused manifest key: dev-dependencies.nix.nix
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling fdringbuf v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/fdbuf.rs:70:33
[INFO] [stdout]    |
[INFO] [stdout] 70 |         if r > 0 && was_empty { try!(write_fd(self.signal_fd)) };
[INFO] [stdout]    |                                 ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/fdbuf.rs:112:32
[INFO] [stdout]     |
[INFO] [stdout] 112 |         if r > 0 && was_full { try!(write_fd(self.signal_fd)) };
[INFO] [stdout]     |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/fdbuf.rs:39:27
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let b: Arr = unsafe { ::std::mem::uninitialized() };
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.87s
[INFO] running `Command { std: "docker" "inspect" "688f335221a4b962d5920ae1513eac63a849d02a1fd9ba01d37103c86779913a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "688f335221a4b962d5920ae1513eac63a849d02a1fd9ba01d37103c86779913a", kill_on_drop: false }`
[INFO] [stdout] 688f335221a4b962d5920ae1513eac63a849d02a1fd9ba01d37103c86779913a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] eed8406b75b92e9da39acfedfa507bf27655bbdd9a2e3bb3470913d645f0b2c7
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "eed8406b75b92e9da39acfedfa507bf27655bbdd9a2e3bb3470913d645f0b2c7", kill_on_drop: false }`
[INFO] [stderr] warning: dependency (nix) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] [stderr] warning: unused manifest key: dev-dependencies.nix.nix
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/fdbuf.rs:70:33
[INFO] [stdout]    |
[INFO] [stdout] 70 |         if r > 0 && was_empty { try!(write_fd(self.signal_fd)) };
[INFO] [stdout]    |                                 ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/fdbuf.rs:112:32
[INFO] [stdout]     |
[INFO] [stdout] 112 |         if r > 0 && was_full { try!(write_fd(self.signal_fd)) };
[INFO] [stdout]     |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/fdbuf.rs:39:27
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let b: Arr = unsafe { ::std::mem::uninitialized() };
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling nix v0.20.0
[INFO] [stderr]    Compiling fdringbuf v0.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find value `EPOLLIN` in this scope
[INFO] [stdout]    --> src/fdbuf.rs:187:51
[INFO] [stdout]     |
[INFO] [stdout] 187 |         let event = EpollEvent { data: 0, events: EPOLLIN };
[INFO] [stdout]     |                                                   ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout] 173 |     use libc::EPOLLIN;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EPOLLIN` in this scope
[INFO] [stdout]    --> src/fdbuf.rs:193:57
[INFO] [stdout]     |
[INFO] [stdout] 193 |         let mut events = [EpollEvent { data: 0, events: EPOLLIN }];
[INFO] [stdout]     |                                                         ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout] 173 |     use libc::EPOLLIN;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EFD_CLOEXEC` in this scope
[INFO] [stdout]    --> src/fdbuf.rs:212:40
[INFO] [stdout]     |
[INFO] [stdout] 212 |         let (efd1, efd2) = (eventfd(0, EFD_CLOEXEC).unwrap(), eventfd(0, EFD_CLOEXEC).unwrap());
[INFO] [stdout]     |                                        ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout] 173 |     use libc::EFD_CLOEXEC;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EFD_CLOEXEC` in this scope
[INFO] [stdout]    --> src/fdbuf.rs:212:74
[INFO] [stdout]     |
[INFO] [stdout] 212 |         let (efd1, efd2) = (eventfd(0, EFD_CLOEXEC).unwrap(), eventfd(0, EFD_CLOEXEC).unwrap());
[INFO] [stdout]     |                                                                          ^^^^^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this constant
[INFO] [stdout]     |
[INFO] [stdout] 173 |     use libc::EFD_CLOEXEC;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `scoped` in module `std::thread`
[INFO] [stdout]    --> src/fdbuf.rs:226:36
[INFO] [stdout]     |
[INFO] [stdout] 226 |         let guard = ::std::thread::scoped(move || {
[INFO] [stdout]     |                                    ^^^^^^ not found in `std::thread`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/fdbuf.rs:70:33
[INFO] [stdout]    |
[INFO] [stdout] 70 |         if r > 0 && was_empty { try!(write_fd(self.signal_fd)) };
[INFO] [stdout]    |                                 ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]    --> src/fdbuf.rs:112:32
[INFO] [stdout]     |
[INFO] [stdout] 112 |         if r > 0 && was_full { try!(write_fd(self.signal_fd)) };
[INFO] [stdout]     |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead
[INFO] [stdout]   --> src/fdbuf.rs:39:27
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let b: Arr = unsafe { ::std::mem::uninitialized() };
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `nix::sys::epoll::EpollEvent` has no field named `data`
[INFO] [stdout]    --> src/fdbuf.rs:187:34
[INFO] [stdout]     |
[INFO] [stdout] 187 |         let event = EpollEvent { data: 0, events: EPOLLIN };
[INFO] [stdout]     |                                  ^^^^ `nix::sys::epoll::EpollEvent` does not have this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `nix::sys::epoll::EpollEvent` has no field named `events`
[INFO] [stdout]    --> src/fdbuf.rs:187:43
[INFO] [stdout]     |
[INFO] [stdout] 187 |         let event = EpollEvent { data: 0, events: EPOLLIN };
[INFO] [stdout]     |                                           ^^^^^^ `nix::sys::epoll::EpollEvent` does not have this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Option<&mut nix::sys::epoll::EpollEvent>: From<&nix::sys::epoll::EpollEvent>` is not satisfied
[INFO] [stdout]    --> src/fdbuf.rs:188:9
[INFO] [stdout]     |
[INFO] [stdout] 188 |         epoll_ctl(sleep, EpollOp::EpollCtlAdd, fd, &event).unwrap();
[INFO] [stdout]     |         ^^^^^^^^^ the trait `From<&nix::sys::epoll::EpollEvent>` is not implemented for `Option<&mut nix::sys::epoll::EpollEvent>`
[INFO] [stdout]     | 
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nix-0.20.0/src/sys/epoll.rs:85:14
[INFO] [stdout]     |
[INFO] [stdout] 85  |     where T: Into<Option<&'a mut EpollEvent>>
[INFO] [stdout]     |              -------------------------------- required by this bound in `nix::sys::epoll::epoll_ctl`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the following implementations were found:
[INFO] [stdout]               <Option<&'a T> as From<&'a Option<T>>>
[INFO] [stdout]               <Option<&'a mut T> as From<&'a mut Option<T>>>
[INFO] [stdout]               <Option<T> as From<T>>
[INFO] [stdout]     = note: required because of the requirements on the impl of `Into<Option<&mut nix::sys::epoll::EpollEvent>>` for `&nix::sys::epoll::EpollEvent`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `nix::sys::epoll::EpollEvent` has no field named `data`
[INFO] [stdout]    --> src/fdbuf.rs:193:40
[INFO] [stdout]     |
[INFO] [stdout] 193 |         let mut events = [EpollEvent { data: 0, events: EPOLLIN }];
[INFO] [stdout]     |                                        ^^^^ `nix::sys::epoll::EpollEvent` does not have this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `nix::sys::epoll::EpollEvent` has no field named `events`
[INFO] [stdout]    --> src/fdbuf.rs:193:49
[INFO] [stdout]     |
[INFO] [stdout] 193 |         let mut events = [EpollEvent { data: 0, events: EPOLLIN }];
[INFO] [stdout]     |                                                 ^^^^^^ `nix::sys::epoll::EpollEvent` does not have this field
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0600]: cannot apply unary operator `-` to type `u32`
[INFO] [stdout]    --> src/fdbuf.rs:233:69
[INFO] [stdout]     |
[INFO] [stdout] 233 |                     for z in d.iter().take(300) { cc += 1; if *z == -1 { quit = true; return (cc, false); } sum += *z as u64 };
[INFO] [stdout]     |                                                                     ^^
[INFO] [stdout]     |                                                                     |
[INFO] [stdout]     |                                                                     cannot apply unary operator `-`
[INFO] [stdout]     |                                                                     help: you may have meant the maximum value of `u32`: `u32::MAX`
[INFO] [stdout]     |
[INFO] [stdout]     = note: unsigned values cannot be negated
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `u32: Neg` is not satisfied
[INFO] [stdout]    --> src/fdbuf.rs:261:29
[INFO] [stdout]     |
[INFO] [stdout] 261 |         s.send(|d| { d[0] = -1; (1, false) }).unwrap();
[INFO] [stdout]     |                             ^^ the trait `Neg` is not implemented for `u32`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0560, E0600.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `fdringbuf`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "eed8406b75b92e9da39acfedfa507bf27655bbdd9a2e3bb3470913d645f0b2c7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eed8406b75b92e9da39acfedfa507bf27655bbdd9a2e3bb3470913d645f0b2c7", kill_on_drop: false }`
[INFO] [stdout] eed8406b75b92e9da39acfedfa507bf27655bbdd9a2e3bb3470913d645f0b2c7
